﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using appladen.contracts;
using System.Diagnostics;
using appladen.contracts.data;

namespace appladen.csvwerk
{
    public class Header_zerlegen : IHeader_zerlegen
    {
        public void Process(string message)
        {
            Trace.TraceInformation("Header_zerlegen.Process");
            var zeile = new CSVZeile();
            zeile.Werte = message.Split(';');
            Result(zeile);
        }

        public event Action<contracts.data.CSVZeile> Result = delegate { };
    }
}
